package com.ftg.learn.myself.task;

import com.ftg.learn.myself.entity.Student;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 布衣
 */
public class ExcelTask implements Runnable {

    private final List<Student> studentlist;

    public ExcelTask(List<Student> studentlist) {
        this.studentlist = new ArrayList<>(studentlist);
    }


    @Override
    public void run() {
        System.out.println("Task ==>" + studentlist);
    }
}
